/**
 * 
 */
package com.hezhi.trafficcopsys.service;

import java.io.File;
import java.util.List;

import com.hezhi.framework.exception.APPException;
import com.hezhi.trafficcopsys.domain.SpecialCar;

/**
 * @author wudo
 *
 */
public interface SpecialCarService {
	
	public SpecialCar findSpecialCar(String SpecialCarname)throws APPException;
	
	public boolean isExistedSpecialCar(String SpecialCarname)throws APPException;
	
	public List<SpecialCar> listSpecialCarByPage(int pageSize, int pageNo)throws APPException;
	
	public int addSpecialCar(SpecialCar SpecialCar)throws APPException;
	
	public int editSpecialCar(SpecialCar SpecialCar)throws APPException;
	
	public int delSpecialCars(String[] SpecialCarnames )throws APPException;
	
	public int getTotalSize() throws APPException;
	
	public int loadSpecialCarsFromFile(File file) throws APPException;

}
